package com.github.wxiaoqi.security.admin.rest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.github.wxiaoqi.security.admin.biz.GroupTypeBiz;
import com.github.wxiaoqi.security.admin.entity.GroupType;
import com.github.wxiaoqi.security.common.rest.BaseController;

/**
 * ${DESCRIPTION}
 *
 * @author wanghaobin
 * @create 2017-06-08 11:51
 */
@Controller
@RequestMapping("groupType")
public class GroupTypeController extends BaseController<GroupTypeBiz, GroupType> {
	//
	// @RequestMapping(value = "/page",method = RequestMethod.GET)
	// @ResponseBody
	// public TableResultResponse<Object> page(@RequestParam(defaultValue =
	// "10") int limit, @RequestParam(defaultValue = "1")int page, String name){
	// Example example = new Example(GroupType.class);
	// if(StringUtils.isNotBlank(name))
	// example.createCriteria().andLike("name", "%" + name + "%");
	// Page<Object> result = PageHelper.startPage(page, limit);
	// baseBiz.selectByExample(example);
	// return new
	// TableResultResponse<Object>(result.getTotal(),result.getResult());
	// }

}
